package thinkinjava4.ch10;

/**
 * 内部类的继承
 */
class WithInner {
    class Inner {
        {
            System.out.println("WithInner.Inner");
        }
    }
}

public class InheritInner extends WithInner.Inner {
    InheritInner(WithInner wi) {
        wi.super();
    }

    public static void main(String[] args) {
        WithInner wi = new WithInner();
        InheritInner ii = new InheritInner(wi);
    }
}
